package com.neusoft.neu24.service;

import com.neusoft.neu24.Result.CommonResult;
import com.neusoft.neu24.dto.GridDTO;
import com.neusoft.neu24.dto.GridorDTO;
import com.neusoft.neu24.entity.Grid;
import com.neusoft.neu24.entity.Gridor;


import java.util.List;

public interface IGridService {

    List<Grid> listAll();

    CommonResult<List<GridDTO>> listAll2DTO();

    CommonResult<List<String>> getPCRByIds(List<Integer> ids);

    CommonResult<List<Gridor>> getGridorsByGid(Integer gid);

    List<Grid> fillContent();

    CommonResult<List<Integer>> getPids(Integer id);

    CommonResult<List<Grid>> fillGridRelation();


    CommonResult<Grid> getGrid(Integer id);

    CommonResult<List<GridorDTO>> getGridors(Integer id);


}
